package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AdminPagePledgeTaskVO {

    @ApiModelProperty("任务id")
    private Long id;

    @ApiModelProperty("质押任务名称")
    private String pledgeTaskName;

    @ApiModelProperty("质押任务封面")
    private String pledgeTaskCoverImage;

    @ApiModelProperty(value = "参与人数")
    private Integer joinCount;

    @ApiModelProperty("质押任务开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pledgeTaskBeginTime;

    @ApiModelProperty("质押任务结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pledgeTaskEndTime;

    @ApiModelProperty("是否启用 false:否 true:是")
    private Boolean isEnable;

    @ApiModelProperty("排序")
    private Integer sort;
}
